/*
 * Created on 2005-10-8
 *
 */
package com.hd123.rumba.runtime;

import java.util.Date;

import com.hd123.rumba.exception.BusinessException;

/**
 * @author caili
 */
public interface IVersionedPersistent extends IPersistent {

  public long getOca() throws BusinessException;

  public void setOca(long oca) throws BusinessException;

  /** @deprecated */
  public static final String CAPTION_LASTMODIFIED = "最后修改时间";

  public Date getLastModified() throws BusinessException;

  public void setLastModified(Date lastModified) throws BusinessException;

  public void assign(IVersionedPersistent obj) throws BusinessException;

}
